#if MSC_VER >=1000
    #pragma execution_character_set("UTF-8")
#endif

#include "album.h"

Album::Album()
{

}

void Album::setId(long id)
{
     this->id = id;

}

void Album::setName(QString name)
{
    this->name = name;
}

void Album::setArtist(Artists artists)
{
    this ->artist = artists;
}

void Album::setPublishTime(long publishTime)
{
    this->publishTime = publishTime;
}

void Album::setSize(int size)
{
    this->size = size;
}

void Album::setCopyrightId(long cpId)
{
    this->copyrightId = cpId;
}

void Album::setStatus(int status)
{
    this ->status = status;
}

void Album::setPicId(long pId)
{
    this ->picId = pId;
}

long Album::getId() const
{


    return id;
}

QString Album::getName() const
{
    return name;
}

Artists Album::getArtist()
{
    return artist;
}

long Album::getPublishTime() const
{
    return publishTime;
}

int Album::getSize() const
{
    return size;

}

int Album::getCopyrightId() const
{
    return copyrightId;
}

int Album::getStatus() const
{
    return status;
}

long Album::getPicId() const
{
    return picId;

}
